<!---- SUI模板 on ${DATE} -->
<script ng-init="initCssAndJs()"></script>
<script ng-init="initCss('reflection-page/css/reflection.css')"></script>

<header class="bar bar-nav">
    <div style="margin-top: 0.3rem;"><a class="fa fa-user-circle-o pull-left fa-2x" href="#/personal-center"></a>
    </div>
    <a href="#/publication">
        <div class="publication" style="margin-top: -0.4rem;font-size: .8rem"><i class="fa fa-edit (alias) fa-2x"></i>
        </div>
    </a>
</header>
<div class="content infinite-scroll infinite-scroll-bottom" ng-init="showAllDynamic()" style="border-top:none">
    <div style="margin-top: -0.8rem;padding-bottom:2rem">
        <!-- <动态分享列表 -->
        <div class="order__share-list mt--10">
            <ul class="clearfix">
                <li ng-repeat="dynamicInfo in dynamicInfos track by $index">
                    <div class="bg">
                        <div class="content-bg">
                            <div class="head">
                                <img ng-if="!dynamicInfo.user.userAvatarAddress"
                                     ng-src="page/personal-center-page/img/avatar.jpg"/>
                                <img ng-if="dynamicInfo.user.userAvatarAddress"
                                     ng-src="{{dynamicInfo.user.userAvatarAddress}}">

                        <span>
							<i class="name">{{dynamicInfo.user.userNickName}}</i>
							<label class="time">{{dynamicInfo.dynamicDate|date:"yyyy-MM-dd"}}</label>

						</span>
                            </div>
                            <div class="cont">
                                <h3 class="tit" ng-click="getDynamicId(dynamicInfo.dynamicId,dynamicInfo.isLike)">
                                    {{dynamicInfo.dynamicTitle}}</h3>

                                <p class="desc" ng-click="getDynamicId(dynamicInfo.dynamicId,dynamicInfo.isLike)">
                                    {{dynamicInfo.dynamicContent}}
                                </p>

                                <div ng-if="dynamicInfo.dynamicImg" class="imgs clearfix">
                                      <span ng-repeat="img in dynamicInfo.dynamicImg track by $index">
                                         <img ng-src="{{img}}" ng-click="showImg(dynamicInfo.dynamicImg,$index)"/>
                                     </span>
                                </div>

                            </div>
                            <div class="foot">
                                <ul class="fa-ul">
                                    <li>
                                        <i ng-if="dynamicInfo.isLike" class="fa-li fa fa-thumbs-up"
                                           ng-click="addLike(dynamicInfo.dynamicId,$index)" style="color: #ff3355">
                                        </i>
                                        <i ng-if="!dynamicInfo.isLike" class="fa-li fa fa-thumbs-up"
                                           ng-click="addLike(dynamicInfo.dynamicId,$index)">

                                        </i>
                                        {{dynamicInfo.dynamicLikeNum}}
                                    </li>

                                    <li ng-click="getDynamicId(dynamicInfo.dynamicId,dynamicInfo.isLike)">
                                        <a href="#/evaluate-details"></a>
                                        <i class="fa-li fa fa-commenting"></i>{{dynamicInfo.allCommentCount}}
                                    </li>
                                    <li><i class="fa-li fa fa-mail-forward"></i></li>
                                </ul>
                            </div>
                            <div style="clear: both"></div>

                        </div>
                    </div>
                </li>
            </ul>
            <!-- <>底部导航 -->
            <!-- 加载提示符 -->
            <div class="infinite-scroll-preloader">
                <div class="preloader"></div>
            </div>
            <!-- 底部bar-->
        </div>
    </div>
</div>

</div>
<nav class="bar bar-tab">
    <a class="tab-item external " href="#/home">
        <span class="icon icon-home"></span>
        <span class="tab-label">首页</span>
    </a>
    <a class="tab-item external" href="#/classification2">
        <span class="icon icon-app"></span>
        <span class="tab-label">分类</span>
    </a>
    <a class="tab-item external active" href="#/reflection">
        <span class="icon icon-message"></span>
        <span class="tab-label">动态</span>
    </a>
    <a class="tab-item external" href="#/personal-center">
        <span class="icon icon-me"></span>
        <span class="tab-label">我的</span>
    </a>
</nav>
<div ng-init="suiMobileInit('reflection-page/js/reflection.js')"></div>